package cn.com.project.pattern.m.decorator;

/**
 * @Desc 排名装饰
 * @Author wangjun
 * @Date 2018-01-24
 */
public class SortDecorator extends Decorator {

	public SortDecorator(SchoolReport sr) {
		super(sr);
	}
	
	public void reportSort() {
		System.out.println("排名是28名！");
	}
	
	@Override
	public void report() {
		super.report();
		this.reportSort();
	}
	
}
